From: Carlos Garnacho Date: Tue, 30 Dec 2025 13:40:37 +0000 (+0100) Subject: unlockDialog: Drop seat state check after grab X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~39^2~1^2~55 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=60055fe078043c2e07012295906b67fc05860e26;p=gnome-shell.git unlockDialog: Drop seat state check after grab Grabs are non-failable now, we do not need to check for the backend seat actually having been able to perform the request. Part-of: --- diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index c151222b4..f5f31f5d4 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -952,11 +952,6 @@ export const UnlockDialog = GObject.registerClass({ const grab = Main.pushModal(Main.uiGroup, {actionMode: Shell.ActionMode.UNLOCK_SCREEN}); - if (grab.get_seat_state() !== Clutter.GrabState.ALL) { - Main.popModal(grab); - return false; - } - this._grab = grab; this._isModal = true;